using System;

namespace SynoManager.DownloadStation.Search
{
    public class SearchEngineAttribute : Attribute
    {
        private readonly string name;
        private readonly string website;
        private readonly string author;
        private readonly string version;
        private readonly string imageKey;

        public SearchEngineAttribute(string name, string website, string author, string version)
        {
            this.name = name;
            this.website = website;
            this.author = author;
            this.version = version;
        }

        public SearchEngineAttribute(string name, string website, string author, string version, string imageKey)
        {
            this.name = name;
            this.website = website;
            this.author = author;
            this.version = version;
            this.imageKey = imageKey;
        }

        public string Name
        {
            get { return name; }
        }

        public string Website
        {
            get { return website; }
        }

        public string Author
        {
            get { return author; }
        }

        public string Version
        {
            get { return version; }
        }

        public string ImageKey
        {
            get { return imageKey; }
        }
    }
}